#include <iostream>
#include <unistd.h>

using namespace std;

int main()
{
    while(1)
    {
        cout << "Hello World, pid:" <<  getpid() << ", " << "ppid:" <<  getppid() << endl;
        sleep(1);
    }

    return 0;
}
